package rpc.remote.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ClassName: RpcMessage
 * @Description:
 * @author: Kowk
 * @since:1.0.0
 */
@AllArgsConstructor
@NoArgsConstructor
@Data
@Builder
public class RpcMessage {
    //rpc消息类型
    private byte messageType;
    //序列化方式
    private byte codec;
    //压缩方式
    private byte compress;
    //请求id
    private int requestId;
    //请求主体信息
    private Object data;
}
